Using the proper partition of task and scheduling mechanism based on priority improved the efficiency of CPU, insured the need of real-time capability of electronic control fuel injection system and improved the transient response of diesel engines. 通过合理的任务划分和基于优先级的抢占式调度方式,提高了CPU的利用率,确保了电控喷油系统的实时性要求,有效提高了发动机的动态响应性能。